package com.hefeng.unit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.lang.reflect.Field;

/**
 * 探头信息维护表;undefined 修改
 *
 * @author :
 * @date : 2022-9-16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "探头信息维护表", description = "探头信息维护表")
public class AegisDetectorInfo implements Serializable {

    /**
     * 探测器ID
     */
    @ApiModelProperty(name = "探测器ID", notes = "探测器ID")
    @TableId(value = "DETECTOR_ID", type = IdType.ASSIGN_UUID)
    private String detectorId;


    /**
     * 探测器编号
     */
    @ApiModelProperty(name = "探测器编号", notes = "探测器编号")
    private String detectorCode;


    /**
     * 探测器名称
     */
    @ApiModelProperty(name = "探测器名称", notes = "探测器名称")
    private String detectorName;

    /**
     * 探测器安装位置
     */
    @ApiModelProperty(name = "探测器安装位置", notes = "探测器安装位置")
    private String detectorLocation;

    /**
     * 安装楼层
     */
    @ApiModelProperty(name = "安装楼层", notes = "安装楼层")
    private String installationFloor;
    /**
     * 具体位置
     */
    @ApiModelProperty(name = "具体位置", notes = "具体位置")
    private String specificLocation;


    /**
     * 报警主机ID;关联主机表
     */
    @ApiModelProperty(name = "报警主机ID", notes = "关联主机表")
    @TableField(exist = false)
    private String alarmHostId;

    /**
     * 报警主机编号 关联主机表
     */
    @ApiModelProperty(name = "报警主机编号", notes = "报警主机编号")
    @TableField(exist = false)
    private String alarmHostCode;


    /**
     * 主机productKey 驰诚主机独享
     */
    @ApiModelProperty(name = "报警主机编号", notes = "报警主机编号")
    @TableField(exist = false)
    private String hostProductKey;


    /**
     * 关联表Id
     */
    @ApiModelProperty(name = "主键", notes = "主键")
    @TableField(exist = false)
    private String bindId;

    /**
     * 寄存器地址序号;最大值为4，单主机只最多绑定4个探测器，且不可重复，按顺序绑定探头 1，,2，3，4
     */
    @ApiModelProperty(name = "寄存器地址序号", notes = "最大值为4，单主机只最多绑定4个探测器，且不可重复，按顺序绑定探头")
    @TableField(exist = false)
    private Integer registerIndex;




}